package com.vates.curso.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.vates.curso.utils.BaseObject;

@Entity
@Table(name = "PHONE_TABLE")
public class Phone extends BaseObject {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -2639083545694019451L;

	@Id
	@Column(name = "PHONE_ID", unique = true, nullable = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long phoneId;
	@Column(name = "COUNTRY_CODE")
	/** The country code. */
	private Integer countryCode;

	@Column(name = "AREA_CODE")
	/** The area code. */
	private Integer areaCode;
	@Column(name = "PHONE_NUMBER")
	/** The phone number. */
	private Integer phoneNumber;

	public Phone() {
		super();
	}

	public Long getPhoneId() {
		return phoneId;
	}

	public void setPhoneId(Long phoneId) {
		this.phoneId = phoneId;
	}

	public Integer getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(Integer countryCode) {
		this.countryCode = countryCode;
	}

	public Integer getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(Integer areaCode) {
		this.areaCode = areaCode;
	}

	public Integer getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(Integer phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	@Override
	public void equals() {
		// TODO Auto-generated method stub

	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

}
